#Mediumrpd
def liner(seed):
    return ((seed*numValue))

for i in range(0xffff + 1):
    seed = v1
    if liner(seed)>>16 == v2:
        print(seed)

